package com.alex.designPattern.bridge;

/**
 * 使用桥接模式将color元素独立出来
 * @author alex
 *
 */
abstract public class Picture {
	
	protected AbstractColor color;
	
	protected Picture(AbstractColor color){
		this.color = color;
	}

	public void setColor(AbstractColor color) {
		this.color = color;
	}

	abstract public void draw();
	
}
